package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.MerchantPledgeTaskLinkTypeEnum;
import com.sc.nft.enums.MerchantPledgeTaskrewardsTypeEnum;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 商户质押任务奖励配置表(sc_merchant_pledge_task_rewards_conf)实体类
 *
 * @author Sun
 * @since 2023-08-24 16:16:49
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_merchant_pledge_task_rewards_conf")
public class MerchantPledgeTaskRewardsConf extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 质押任务主表id
     */
    private Long merchantPledgeTaskId;
    /**
     * 质押任务周期表id
     */
    private Long merchantPledgeTaskCycleConfId;
    /**
     * 质押任务收益表id
     */
    private Long merchantPledgeTaskIncomeConfId;
    /**
     * 奖励类型: 1:周期奖励 2:直推收益 3:间推收益
     */
    private MerchantPledgeTaskrewardsTypeEnum rewardsType;
    /**
     * 关联类型
     */
    private MerchantPledgeTaskLinkTypeEnum linkType;
    /**
     * 关联名称
     */
    private String linkName;
    /**
     * 关联数量
     */
    private Integer linkCount;
    /**
     * 关联图片
     */
    private String linkImg;
    /**
     * 关联id
     */
    private Long linkId;
}